package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;import com.lanchetech.entity.Sapling;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface SaplingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Sapling record);

    int insertSelective(Sapling record);

    Sapling selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Sapling record);

    int updateByPrimaryKey(Sapling record);

    List<Sapling> findAll(@Param("status") Byte status);

    List<Sapling> findAllPage(PageReq req);

    List<Sapling> findAllList();


}